<?php
$client= new GearmanClient();
$client->addServer('127.0.0.1', 4730);
$client->setCompleteCallback("reverse_complete");
$client->addTask("title", "AlL THE World's a sTagE",NULL);
function reverse_complete($task)
{
    echo "COMPLETE: " . $task->jobHandle() . ", " . $task->data() . "\n";
}
?>
